﻿using AutoMapper;
using Crawler.Domain.DataEntities.Extracted;
using Crawler.DomainServices.Pages;

namespace Crawler.Infrastructure.ApplicationServices.Mappers
{
	class AutoMapperBootStrap:IBootstrap
	{
		public void Execute()
		{
			Mapper.CreateMap<ImdbMoviePage, Movie>();
			Mapper.CreateMap<YifyMoviePage, MovieFile>();
		}
	}
}
